// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
//
// ███╗   ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
// ████╗  ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
// ██╔██╗ ██║██║   ██║   ██║   ██║██║     █████╗
// ██║╚██╗██║██║   ██║   ██║   ██║██║     ██╔══╝
// ██║ ╚████║╚██████╔╝   ██║   ██║╚██████╗███████╗
// ╚═╝  ╚═══╝ ╚═════╝    ╚═╝   ╚═╝ ╚═════╝╚══════╝
// ------------------------------------------------
//
// This file is automatically generated.
// Please do not edit these files manually.
//
// ------------------------------------------------

#nullable restore

using System;
using System.Linq;
using Elastic.Clients.Elasticsearch.Serialization;

namespace Elastic.Clients.Elasticsearch;

[System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Json.NodeRoleConverter))]
public enum NodeRole
{
	[System.Runtime.Serialization.EnumMember(Value = "client")]
	Client,
	[System.Runtime.Serialization.EnumMember(Value = "coordinating_only")]
	CoordinatingOnly,
	[System.Runtime.Serialization.EnumMember(Value = "data")]
	Data,
	[System.Runtime.Serialization.EnumMember(Value = "data_cold")]
	DataCold,
	[System.Runtime.Serialization.EnumMember(Value = "data_content")]
	DataContent,
	[System.Runtime.Serialization.EnumMember(Value = "data_frozen")]
	DataFrozen,
	[System.Runtime.Serialization.EnumMember(Value = "data_hot")]
	DataHot,
	[System.Runtime.Serialization.EnumMember(Value = "data_warm")]
	DataWarm,
	[System.Runtime.Serialization.EnumMember(Value = "ingest")]
	Ingest,
	[System.Runtime.Serialization.EnumMember(Value = "master")]
	Master,
	[System.Runtime.Serialization.EnumMember(Value = "ml")]
	Ml,
	[System.Runtime.Serialization.EnumMember(Value = "remote_cluster_client")]
	RemoteClusterClient,
	[System.Runtime.Serialization.EnumMember(Value = "transform")]
	Transform,
	[System.Runtime.Serialization.EnumMember(Value = "voting_only")]
	VotingOnly
}